package com.zzyl.mapper;

import com.zzyl.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserLoginMapper {

    /**
     * 登录校验
     * @param username
     * @return
     */
    @Select("select * from sys_user where username = #{username}")
    User selectByName(String username);
}
